package com.ccl.iot.huiju.contract;

import android.util.SparseArray;

import com.ccl.iot.huiju.IOTHuiJu;

/**
 * 类说明：
 * 作者：HD on 2017/11/20 14:40
 * 邮箱：hehandong@qq.com
 */

public interface MainContract {
    interface MainView {

        void setLeftLayoutVisibility(int visibility);

        void setRightLayoutVisibility(int visibility);

        void notifyDataSetChanged(SparseArray<IOTHuiJu> datas,int pageIndex,int size);
    }

    interface MainPresenter {
        void refreshPage(int pageIndex);
        void switchPage(int pageIndex, boolean isAdd);
    }
}
